Coderockz\Woo_Delivery\Block\Coderockz_Woo_Delivery_Block B

Total Complexity 88
Dependencies 8
Dependents 0
Total lines 418
Lines of code 360
Logical lines of code 179
Comment lines 0
Methods 24
Properties 2

Methods 24

Method Rating Maintainability Complexity Lines of code
validate_and_set_time()
A
52 13 22
get_order_times()
A
39 9 69
validate_and_set_date()
A
46 11 37
disable_max_orders_time_options()
A
51 12 21
disable_passed_and_current_time_options()
A
52 9 22
localize_settings()
A
52 8 23
data()
S
52 6 23
reset_time_options()
S
64 3 10
data_structure()
S
52 1 27
order_type_change_callback()
S
56 1 22
get_instance()
S
71 2 6
pickup_date_change()
S
72 1 5
pickup_time_change()
S
72 1 5
__clone()
S
98 1 1
delivery_time_change()
S
72 1 5
delivery_date_change()
S
72 1 5
__wakeup()
S
80 1 3
extension_data_declaration()
S
65 1 10
add_data()
S
65 1 10
register_block()
S
68 1 9
register_woo_delivery_block()
S
82 1 3
reset_session()
S
67 1 8
__construct()
S
65 1 9
order_type_change()
S
72 1 5